package org.lyfeng.spring.beans.factory.config;

import org.lyfeng.spring.beans.BeanFactory;
import org.lyfeng.spring.exception.BeansExceptions;

/**
 * 自动注入的beanfactory
 * @author leiyufeng
 * 2013-4-22 下午3:20:37
 */
public interface AutowireBeanFactory extends BeanFactory {
	
	/**
	 * 
	 * @param existingBean
	 * @throws BeansExceptions
	 */
//	void autowireBean(Object existingBean) throws BeansExceptions;
	
	Object initializeBean(Object existingBean,String beanName) throws BeansExceptions;
	/**
	 * 加载包下的class
	 * @param besePackages
	 */
	void scan(String... besePackages);
}
